package com.nmh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nmh.entity.Enclosure;
import com.nmh.entity.EnclosureAndPasture;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yoki
 * @since 2023-12-19
 */
public interface EnclosureService extends IService<Enclosure> {
   List<EnclosureAndPasture> getall();

   boolean add(Enclosure  enclosure);
//   boolean modify(Enclosure enclosure);

   boolean modifyByState(Enclosure enclosure);
   List<EnclosureAndPasture> getByThree(EnclosureAndPasture enclosureAndPasture);

}
